<%@ page import="cqcvc.edu.cn.entity.OrgInfo" %>
<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<jsp:include page="../index/index-header.jsp"/>
<jsp:useBean id="orgInfo" class="cqcvc.edu.cn.entity.OrgInfo" scope="session"/>
<%
    List<OrgInfo> orgInfos = (List<OrgInfo>)application.getAttribute("orgInfos");
    Long id=Long.parseLong(request.getParameter("id"));
    for (OrgInfo item:orgInfos
    ) {
        if(item.getId()==id)
        {
            orgInfo=item;
            break;
        }
    }
%>
<div ng-controller="activeInfoCtrl">
    <div class="row">
        <div class="col-xs-12" style="border-bottom: 1px solid lightgray; margin-bottom: 15px">
            <h1 class="text-center"><%=orgInfo.getOrgTitle()%> </h1>
        </div>
    </div>
    <div class="row" style="margin-bottom: 15px">
        <div class="col-xs-12">
            <img class="center-block" src="<%=request.getContextPath()%>/images/orgShowPic?id=<%=orgInfo.getId()%> " style="width: 800px" ng-if="data.id" />
        </div>
    </div>
    <div class="container">
        <dl class="dl-horizontal">
            <dt>
                团队信息：
            </dt>
            <dd>
                <%=orgInfo.getOrgbDetail()%>
            </dd>
        </dl>
    </div>
</div>
<jsp:include page="../index/index-foot.jsp"/>

</body>
</html>
